package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.BdmReceiveAddress;

import java.util.List;

/**
 * 用户地址Service接口
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
public interface IBdmReceiveAddressService  extends IService<BdmReceiveAddress>
{
    /**
     * 查询用户地址
     * 
     * @param id 用户地址主键
     * @return 用户地址
     */
    public BdmReceiveAddress selectBdmReceiveAddressById(String id);

    /**
     * 查询用户地址列表
     * 
     * @param bdmReceiveAddress 用户地址
     * @return 用户地址集合
     */
    public List<BdmReceiveAddress> selectBdmReceiveAddressList(BdmReceiveAddress bdmReceiveAddress);

    /**
     * 新增用户地址
     * 
     * @param bdmReceiveAddress 用户地址
     * @return 结果
     */
    public int insertBdmReceiveAddress(BdmReceiveAddress bdmReceiveAddress);

    /**
     * 修改用户地址
     * 
     * @param bdmReceiveAddress 用户地址
     * @return 结果
     */
    public int updateBdmReceiveAddress(BdmReceiveAddress bdmReceiveAddress);

    /**
     * 批量删除用户地址
     * 
     * @param ids 需要删除的用户地址主键集合
     * @return 结果
     */
    public int deleteBdmReceiveAddressByIds(String[] ids);

    /**
     * 删除用户地址信息
     * 
     * @param id 用户地址主键
     * @return 结果
     */
    public int deleteBdmReceiveAddressById(String id);

    /**
     * 校验用户收获地址信息
     * @param bdmReceiveAddress
     */
    void checkUserAddress(BdmReceiveAddress bdmReceiveAddress);

    /**
     * 新增用户地址
     * @param bdmReceiveAddress
     */
    void saveAddress(BdmReceiveAddress bdmReceiveAddress);

    /**
     * 修改用户地址
     * @param bdmReceiveAddress
     */
    void updateAddress(BdmReceiveAddress bdmReceiveAddress);
}
